/*    */ package com.zimbra.cs.redolog.op;
/*    */ 
/*    */ import com.zimbra.cs.mailbox.MailItem.Type;
/*    */ import com.zimbra.cs.mailbox.MailboxOperation;
/*    */ import com.zimbra.cs.redolog.RedoLogInput;
/*    */ import com.zimbra.cs.redolog.RedoLogOutput;
/*    */ import java.io.IOException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class RenameTag
/*    */   extends RenameItem
/*    */ {
/*    */   public RenameTag()
/*    */   {
/* 34 */     this.mOperation = MailboxOperation.RenameTag;
/* 35 */     this.type = MailItem.Type.TAG;
/* 36 */     this.mFolderId = 8;
/*    */   }
/*    */   
/*    */   public RenameTag(int mailboxId, int tagId, String name) {
/* 40 */     super(mailboxId, tagId, MailItem.Type.TAG, name, 8);
/* 41 */     this.mOperation = MailboxOperation.RenameTag;
/*    */   }
/*    */   
/*    */   protected void serializeData(RedoLogOutput out) throws IOException
/*    */   {
/* 46 */     out.writeInt(this.mId);
/* 47 */     out.writeUTF(this.mName);
/*    */   }
/*    */   
/*    */   protected void deserializeData(RedoLogInput in) throws IOException
/*    */   {
/* 52 */     this.mId = in.readInt();
/* 53 */     this.mName = in.readUTF();
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/redolog/op/RenameTag.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */